import Vue from 'vue'
import App from './App'
import uView from "uview-ui";
import store from './store/index.js'
import { http } from '@/system/service.js'
import orangeUtil from './utils/orange-util.js'; 
import coordTransform from './utils/coord-transform.js'
import auth from './utils/authorize.js';
let mpShare = require('uview-ui/libs/mixin/mpShare.js');
Vue.mixin(mpShare)

Vue.use(orangeUtil);
Vue.use(auth);
Vue.use(uView);
Vue.use(coordTransform);
Vue.config.productionTip = false
App.mpType = 'app'

Vue.prototype.$http = http;
Vue.prototype.$store = store;

const app = new Vue({
	store,
	...App
});
app.$mount()
